package com.flyco.modules.stm.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.flyco.modules.stm.entity.StmConvertItem;
import com.flyco.modules.stm.mapper.StmConvertItemMapper;
import com.flyco.modules.stm.service.IStmConvertItemService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 门店转换单明细表
 * @Author: flyco
 * @Date:   2021-01-19
 * @Version: V1.0
 */
@DS("store")
@Service
public class StmConvertItemServiceImpl extends ServiceImpl<StmConvertItemMapper, StmConvertItem> implements IStmConvertItemService {
	
	@Autowired
	private StmConvertItemMapper stmConvertItemMapper;
	
	@Override
	public List<StmConvertItem> selectByMainId(Long mainId) {
		return stmConvertItemMapper.selectByMainId(mainId);
	}
}
